﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ANEPWebService.SerializableObjects;

namespace CentroEstudios
{
    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
        }


        protected void b1_Click(object sender, EventArgs e)
        {
            SerializableCentro c;
            ANEPWebService.ANEPServices a = new ANEPWebService.ANEPServices();
            c = a.xmlTEst(t1.Text);
            if (c != null)
            {
                Response.Redirect("/Account/Login.aspx");
            }
            else l1.Text = "No existe el centro " + t1.Text;
       }
    }
}
